class Video:
    def __init__(self, title, url):
        self.title = title
        self.url = url
    def get_video_info(self):
        return f"Title: {self.title}\nURL: {self.url}"
    def __str__(self):
        return self.get_video_info()
    def __getattribute__(self, __name: str) -> Any:
        pass
    def get_video_time(self):
        # 获取视频时长
        return "00:00:00"
    def get_video_size(self):
        # 获取视频大小
        return "0 MB"
    def get_video_resolution(self):
        # 获取视频分辨率
        return "1080p"
    def get_video_bitrate(self):
        # 获取视频码率
        return "10 Mbps"
    def get_video_fps(self):
        # 获取视频帧率
        return "30 fps"
class video_info:
    def __init__(self, Video):
        self.Video = Video
    def get_video_info(self):
        return self.Video.get_video_info()

class Video_cut:
    def __init__(self, title, url, start_time, end_time):
        self.title = title
        self.url = url
        self.start_time = start_time
        self.end_time = end_time
    def get_cut_snapshot(self):
        # 获取视频截图
        return "snapshot.jpg"
    def get_cut_video_info(self):
        # 获取视频信息
        return f"Title: {self.title}\nURL: {self.url}\nStart Time: {self.start_time}\nEnd Time: {self.end_time}"
    

class Playlist:
    def __init__(self, name):
        self.name = name
        self.videos = []

    def add_video(self, video):
        self.videos.append(video)

    def show_playlist(self):
        print(f"Playlist: {self.name}")
        for video in self.videos:
            print(f"- {video.title} ({video.url})")

# 创建视频对象
video1 = Video("Video 1", "https://www.youtube.com/video1")